 <!-- begin: .tray-left -->
        <aside class="tray tray-left tray317" data-tray-height="match">

          <div class="animated-delay" data-animate='["200","fadeIn"]'>

            <h4> 添加菜品分类</h4>
        <form  method="post" action="{:url('Food/addtype')}" enctype="multipart/form-data">
          <div class="fileupload fileupload-new admin-form mt20" >
            <div class="section mb10">
              <label for="type_name" class="field prepend-icon">
                <input type="text" name="type_name" id="type_name" class="event-name gui-input br-light light" placeholder="输入分类名称" required>
                <label for="type_name" class="field-icon">
                  <i class="fa fa-pencil"></i>
                </label>
              </label>
            </div>
            <input type="submit" class="event-name gui-input br-light bg-light" value="点击添加">
          </div>
        </form>
            <div id="nav-spy">
              <ul class="nav tray-nav tray-nav-border" data-nav-animate="zoomIn" data-smoothscroll="-125" data-spy="affix" data-offset-top="240">
              {volist name="foodtype" id="vo"}
                <li class="active">
                <a href="{:url('food',array('type_id'=>$vo['type_id']))}">{$vo.type_name}</a>
                </li>
               {/volist}
                

              </ul>
            </div>

          </div>

        </aside>
        <!-- end: .tray-left -->